package com.lhd.action.command;

/**
 * @Author: liuhd
 * @Date: 2024/12/17 17:36
 * @Description: 命令调用者
 */
public class Invoke {
    private Command command;

    public void setCommand(Command command) {
        this.command = command;
    }
    // 调用命令
    public void call(){
        command.execute();
    }
}
